import { request } from "@/utils/service"

// API配置--------------------------------------------------

/** 列表 */
export function adminListApi(data: any) {
  return request({
    url:"/system/config/admin/list",
    method: "POST",
    data
  })
}

/** 修改状态 */
export function editAdminStatusApi(data: any) {
  return request({
    url:"/system/config/admin/update/status",
    method: "POST",
    data
  })
}

/** 获取配置项 */
export function getAdminApi(data: any) {
  return request({
    url:"/system/config/admin/config/get",
    method: "POST",
    data
  })
}